Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

Don't push container images in PRs from forks#30

Merged
ethanjli merged 1 commit intomainfrom
fix/ci-docker-push-forks
Apr 19, 2024
Merged

Don't push container images in PRs from forks#30
ethanjli merged 1 commit intomainfrom
fix/ci-docker-push-forks

Conversation

@ethanjli
Copy link
Member

The segmenter CI docker-build-and-push action has been failing in #28 and #29 because it's trying to push container images up to https://github.com/orgs/PlanktoScope/packages from branches in forked repositories. This is not possible because GITHUB_TOKEN is read-only for such PRs. This PR attempts to disable push-related functionality from such PRs.

@ethanjli
Copy link
Member Author

I will merge this once checks pass, and then I'll try merging it into #28 and #29 to see if this PR solves the problems in those PRs.

@ethanjli ethanjli enabled auto-merge April 19, 2024 19:47
@ethanjli ethanjli added this pull request to the merge queue Apr 19, 2024
Merged via the queue into main with commit 921137f Apr 19, 2024
@ethanjli ethanjli deleted the fix/ci-docker-push-forks branch April 19, 2024 20:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant